package com.ckg.practice.service.impl;

import com.ckg.practice.dao.BookDao;
import com.ckg.practice.service.BookService;

public class BookServiceImpl implements BookService {
    private BookDao bookDao;

    public void setBookDao(BookDao bookDao) {
        this.bookDao = bookDao;
    }

    @Override
    public void borrow(String bookId) {
        bookDao.borrowBook(bookId);
    }
}
